package com.efei.test.jdbc.entity;

import com.efei.jdbc.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.sql.Timestamp;

@Data
@Table("test_work")
@EqualsAndHashCode(callSuper = true)
public class WorkInfoEntity extends BaseEntity {
    @Id
    private Integer id ;
    private String jobName;
    private String companyName;
    private Integer workYear;
    private Timestamp beginTime;
    private Integer relUserId;
}
